package com.zhipu.balance.pop

import android.widget.TextView
import com.blankj.utilcode.util.ActivityUtils
import com.lxj.xpopup.core.CenterPopupView
import com.zhipu.balance.R

/**
 * 通用提示
 */
class GeneralPurposePopup (var messageAlert : String) : CenterPopupView(ActivityUtils.getTopActivity()){



    override fun getImplLayoutId(): Int {
        return R.layout.popup_general_purpose
    }


    override fun onCreate() {
        super.onCreate()
        findViewById<TextView>(R.id.Content).text = messageAlert
    }
}